package com.ruoyi.LXHComplaint.mapper;

import java.util.List;
import com.ruoyi.LXHComplaint.domain.DocComplaintLXH;
import org.apache.ibatis.annotations.Mapper;

/**
 * 个人投诉Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-16
 */
@Mapper
public interface DocComplaintLXHMapper 
{
    /**
     * 查询个人投诉
     * 
     * @param complaintId 个人投诉主键
     * @return 个人投诉
     */
    public DocComplaintLXH selectDocComplaintLXHByComplaintId(Long complaintId);

    /**
     * 查询个人投诉列表
     * 
     * @param docComplaintLXH 个人投诉
     * @return 个人投诉集合
     */
    public List<DocComplaintLXH> selectDocComplaintLXHList(DocComplaintLXH docComplaintLXH);

    /**
     * 新增个人投诉
     * 
     * @param docComplaintLXH 个人投诉
     * @return 结果
     */
    public int insertDocComplaintLXH(DocComplaintLXH docComplaintLXH);

    /**
     * 修改个人投诉
     * 
     * @param docComplaintLXH 个人投诉
     * @return 结果
     */
    public int updateDocComplaintLXH(DocComplaintLXH docComplaintLXH);

    /**
     * 删除个人投诉
     * 
     * @param complaintId 个人投诉主键
     * @return 结果
     */
    public int deleteDocComplaintLXHByComplaintId(Long complaintId);

    /**
     * 批量删除个人投诉
     * 
     * @param complaintIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDocComplaintLXHByComplaintIds(Long[] complaintIds);
}
